﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTV_Data;
using QLTV_Public;

namespace QLTV_BLL
{
  public  class LoaiDocGia_BLL
    {
      LoaiDocGia_Data loaDocGia_data = new LoaiDocGia_Data();
      public DataTable TaoBang(string sql)
      {
          return loaDocGia_data.TaoBang(sql);
      }
      public DataTable LayDuLieu()
      {
          return loaDocGia_data.LayDuLieu();
      }
      public int Insert(LoaiDocGia_Public maLoai, LoaiDocGia_Public tenLoai)
      {

          return loaDocGia_data.Insert(maLoai,tenLoai);
      }
      public int Update(LoaiDocGia_Public maLoai, LoaiDocGia_Public tenLoai)
      {

          return loaDocGia_data.Update(maLoai,tenLoai);
      }
      public int Delete(LoaiDocGia_Public maLoai)
      {

          return loaDocGia_data.Delete(maLoai);
      }
    }
}
